package com.trinity.campus.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * 订购教程名单对象 uf_student_book
 *
 * @author 董诗攀
 * @date 2023-12-11
 */
@Data
@ToString
@TableName(value = "campus_user_student")
public class CampusUserStudent implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;
    /**
     * 学生id
     */
    @TableField(value = "stu_id")
    private Long studentId;
    /**
     * 一对一关联属性
     */
    @TableField(exist = false)
    private CampusStudents campusStudent;
}
